package ModelLayer;

/**
 * Write a description of class Employee here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Employee extends Person
{
    private String userName;
    private String password;
    private double wage;
    private int employeeId;
    private String employeeRole;

    /**
     * Constructor for objects of class Employee.
     * @param name, the name of the employee.
     * @param phoneNumber, the phonenumber on this employee.
     * @param address, the address on this employee.
     * @param city, the city on this employee.
     * @param zipCode, the zipcode on this employee.
     * @param userName, the username on this employee.
     * @param password, the password on this employee.
     * @param wage, the wage on this employee.
     * @param employeeRole, the employeeRole on this employee.
     */
    public Employee(String name, String phoneNumber, String address, String city, String zipCode, String userName, String password, double wage, String employeeRole)
    {
        super(name, phoneNumber, address, city, zipCode);
        this.userName = userName;
        this.password = password;
        this.wage = wage;
        employeeId = 0;
        this.employeeRole = employeeRole;
    }

    /**
     * Returns the username on this employee
     * @return userName, the name returned.
     */
    public String getUserName()
    {
        return userName;
    }

    /**
     * Returns the password on this employee
     * @return password, the password returned.
     */
    public String getPassword()
    {
        return password;
    }

    /**
     * Returns the wage on this employee
     * @return wage, the wage returned.
     */
    public double getWage()
    {
        return wage;
    }

    /**
     * Returns the employeeId on this employee
     * @return employeeId, the employeeId returned.
     */
    public int getId()
    {
        return employeeId;
    }

    /**
     * Returns the employeeRole on this employee
     * @return employeeRole, the employeeRole returned.
     */
    public String getEmployeeRole()
    {
        return employeeRole;
    }

    /**
     * Sets the username on this employee.
     * @param userName, the username set.
     */
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    /**
     * Sets the password on this employee.
     * @param password, the password set.
     */
    public void setPassword(String password)
    {
        this.password = password;
    }

    /**
     * Sets the wage on this employee.
     * @param wage, the wage set.
     */
    public void setWage(double wage)
    {
        this.wage = wage;
    }

    /**
     * Sets the employeeId on this employee.
     * @param employeeId, the employeeId set.
     */
    public void setId(int employeeId)
    {
        this.employeeId = employeeId;
    }

    /**
     * Sets the employeeRole on this employee.
     * @param employeeRole, the employeeRole set.
     */
    public void setEmployeeRole(String employeeRole)
    {
        this.employeeRole = employeeRole;
    }

}
